package com.xingxuecn.demos.service;

import com.xingxuecn.demos.domain.User;

/**
 * @author Kris at 2018/9/26 17:15
 */
public interface UserService {

    boolean login(User user) throws Exception;

    /**
     * 创建用户
     * @param user 需要创建的User对象
     * @return 是否成功
     */
    boolean createUser(User user);
}
